package com.springdoor.wx.api.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

public class ResultConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 商品编码 */
    private String gNumber;

    /** 属性id */
    private String attrId;

    /** 参数名称 */
    private String configName;

    /** 属性值id */
    private String valueId;

    /** 属性值(字符) */
    private String valueName;

    /** 属性值（数值） */
    private String configVal;

    /** 属性单位 */
    private String valueUnit;

    private Integer price;
    private String image;
    private String title;

    public String getgNumber() {
        return gNumber;
    }

    public void setgNumber(String gNumber) {
        this.gNumber = gNumber;
    }

    public String getAttrId() {
        return attrId;
    }

    public void setAttrId(String attrId) {
        this.attrId = attrId;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getValueId() {
        return valueId;
    }

    public void setValueId(String valueId) {
        this.valueId = valueId;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    public String getConfigVal() {
        return configVal;
    }

    public void setConfigVal(String configVal) {
        this.configVal = configVal;
    }

    public String getValueUnit() {
        return valueUnit;
    }

    public void setValueUnit(String valueUnit) {
        this.valueUnit = valueUnit;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("gNumber", getgNumber())
                .append("attrId", getAttrId())
                .append("configName", getConfigName())
                .append("valueId", getValueId())
                .append("valueName", getValueName())
                .append("configVal", getConfigVal())
                .append("valueUnit", getValueUnit())
                .append("price", getPrice())
                .append("image", getImage())
                .append("title", getTitle())
                .toString();
    }
}
